package com.elitesland.security.service.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 功能说明
 * </p>
 *
 * @author Mir
 * @date 2020/7/4
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OnlineUserDO implements Serializable {

    private static final long serialVersionUID = 2610790072025140178L;

    Long userId;

    String userName;

    String nickName;

    String dept;

    String browser;

    String ip;

    //TODO 预留未来记录通过IP地址转换的地域信息
    String address;

    String token;

    Date loginTime;
}
